﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProductCate.aspx.cs"
    Inherits="SES.CMS.ProductCate" Title="" %>

<%@ Register TagPrefix="cp" Namespace="SiteUtils" Assembly="CollectionPager" %>
<%@ Register Src="Module/ucMainMenu.ascx" TagName="ucMainMenu" TagPrefix="uc2" %>
<%@ Register Src="Module/ucLogo.ascx" TagName="ucLogo" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentLeft" runat="server">
    <uc2:ucMainMenu ID="ucMainMenu1" runat="server" />
                <uc3:ucLogo ID="ucLogo1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentRight" runat="server">
    <div class="con_right_title">
        <asp:Label runat="server" ID="lblCateTitle"></asp:Label></div>
    <div class="con_right_ny">
        <asp:Repeater runat="server" ID="rptCate">
            <ItemTemplate>
                <div class="pdlist">
                    <div class="cate-img">
                        <a href='/Product/<%#Eval("CategoryID")%>/<%#FriendlyUrl(Eval("Title").ToString()) %>'
                            title='<%#Eval("Title") %>'>
                            <img alt='<%#Eval("Title")%>' src='/Media/<%#Eval("ImageUrl")%>'>
                        </a>
                    </div>
                    <div class="cate-content">
                        <h1>
                            <asp:Label runat="server" ID="lblTitle" Text='<%#Eval("Title") %>'></asp:Label></h1>
                        <p>
                            <%#WordCut(Eval("Description").ToString()) %>
                            <a href='/Product/<%#Eval("CategoryID")%>/<%#FriendlyUrl(Eval("Title").ToString()) %>'
                                title='<%#Eval("Title") %>'>More Details</a></p>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <div style="width: 604px; margin-top: 10px;">
            <div class="collection">
                <cp:CollectionPager LabelText="" FirstText="&amp;nbsp;&amp;nbsp;<<" BackText="< &amp;nbsp;"
                    LastText=">>" NextText=">" ShowFirstLast="True" ControlCssClass="collectionpager"
                    PagingMode="PostBack" runat="server" BackNextLinkSeparator="" BackNextLocation="Split"
                    PageNumbersDisplay="Numbers" ResultsLocation="None" BackNextDisplay="HyperLinks"
                    ID="CollectionPager1" BackNextButtonStyle="" BackNextStyle="margin-left:5px;"
                    ControlStyle="" PageNumbersSeparator="&amp;nbsp;">
                </cp:CollectionPager>
                <div class="collectPage">
                </div>
            </div>
        </div>
    </div>
</asp:Content>
